package com.bluefoxyu.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

/**
 * <p>
 * 学生信息表
 * </p>
 *
 * @author bluefoxyu
 * @since 2024-06-16
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema( description="学生信息表")
public class Student implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "学生姓名")
    private String name;

    @Schema(description = "性别(1 男，2 女)")
    private Integer gender;

    @Schema(description = "年龄")
    private Integer age;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "学号")
    private String studentId;

}
